﻿@model FO.Models.OnlineDepositApply
@{
    ViewBag.title = "" + Model.CustomerName + "";
    Layout = "~/Views/Shared/_CpanelLayout.cshtml";
}
<script type="text/javascript">
    $(document).ready(function () {
        $(".active").removeClass("active");
        $("li[rel=rel-contract-deposit]").parent().parent().css("display", "block");
        $("li[rel=rel-contract-deposit]").parent().parent().prev().addClass("active");
        $("li[rel=rel-contract-deposit]").addClass("active");
        $("li[rel=rel-contract-demandterm]").addClass("active");
    });
</script>
<div class="cbread_crumb">
    <ul class="breadcrumb">
        <li><a class="glyphicons home" href="/Cpanel"><i></i>Control panel</a></li>
        <li class="divider"></li>
        <li><a href="/OnlineDeposit/ManagerOnlineDeposit">Tiết kiệm không kỳ hạn</a></li>
        <li class="divider"></li>
        <li><a href="/OnlineDeposit/Contract">Hợp đồng</a></li>
        <li class="divider"></li>
        <li class="lastli">@Model.CustomerName</li>
    </ul>
</div>
<div class="separator"></div>
<div class="content-module-heading cf">

    <div class="heading-buttons">
        <h3 class="glyphicons table"><i></i>Tiết kiệm không kỳ hạn</h3>
        <div class="clearfix"></div>
    </div>
    <div class="separator"></div>

</div>
<!-- end content-module-heading -->
<div class="innerLR">
    <div style="float: left; width: 40%;">
        <label class="label-text1">Thông tin - Tiền gửi</label>
        <div id="img-card-contract">
            <a href="@Url.Action("Detail", "OnlineDeposit", new { CompanyName = FO.Models.Conver.ConvertToUnSign(Model.CompanyName).ToLower(), OnlineDepositName = FO.Models.Conver.ConvertToUnSign(Model.OnlineDepositName).ToLower(), OnlineDepositID = Model.OnlineDepositID })">
                <img style="width:350px; border:1px solid #144060;" alt="@Model.OnlineDepositName" src="/Content/Upload/Images/@Model.CompanyImg" /></a>
        </div>
        <div class="ad-card-info" style="margin-top: 10px; width: 350px;">
            <ul>
                <li><span class="ad-p-card-info">Tên tiền gửi:</span> <span>@Model.OnlineDepositName</span></li>
            </ul>
        </div>
    </div>
    <div style="float: left; width: 32%;">
        <label class="label-text1">Thông tin - Khách hàng</label>
        <div class="ad-card-info">
            <ul>
                <li><span class="ad-p-card-info">Họ tên:</span> <span>@Model.CustomerName</span></li>
                <li><span class="ad-p-card-info">Email:</span> <span>@Model.CustomerEmail</span></li>
                <li><span class="ad-p-card-info">Số ĐT:</span> <span>@Model.CustomerPhone</span></li>
                <li><span class="ad-p-card-info">Thu nhập:</span> <span>@Model.CustomerIncome</span></li>
                <li><span class="ad-p-card-info">Ngày sinh:</span> <span>@Model.CustomerDOB</span></li>
            </ul>
        </div>
    </div>
    <div style="float: left; width: 28%;">
         <label class="label-text1">Thông tin - Hợp đồng</label>
        <div class="ad-card-info">
            @using (Html.BeginForm())
            { 
                <ul>
                    <li><span class="ad-p-card-info">Ngày tham gia:</span> <span>@Model.AppDate</span></li>
                    <li><span class="ad-p-card-info" style="float: left; margin-right: 10px;">Trạng thái:</span> <span>

                        @Html.HiddenFor(m => m.OnlineDepositApplyID)
                        @Html.DropDownListFor(m => m.StatusID, (IEnumerable<SelectListItem>)ViewBag.StatusListID)


                    </span></li>

                </ul>
                <button type="submit" class="btn btn-icon btn-primary glyphicons circle_ok"><i></i>Lưu</button>
            }
        </div>
    </div>
</div>

